Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!t timeout is not supported #168

Closed
troy2914 opened this issue Jan 17, 2019 · 2 comments
Closed

!t timeout is not supported #168

troy2914 opened this issue Jan 17, 2019 · 2 comments
Assignees
Labels
release blocker blocks the next release
Milestone

Comments

@troy2914
Copy link
Member

in irrd-4.0.0rc1 the !t300 command is not supported (socket timeout of 300 seconds)

given a sequence like:
!!
C
!t300
F Unrecognised command: T
!s-lc
A123
NTTCOM,INTERNAL,RADB,RIPE,RIPE-NONAUTH,ALTDB,BELL,LEVEL3,RGNET,APNIC,JPIRR,ARIN,BBOI,TC,AFRINIC,ARIN-WHOIS,RPKI,REGISTROBR
C
!gAS2
A146
1.1.2.0/24 103.109.214.0/24 120.28.3.0/24 120.28.7.0/24 120.28.17.0/24 120.28.30.0/24 120.28.49.0/24 120.28.54.0/23 120.28.62.0/24 120.28.63.0/24
C
!6AS2
A14
2604:580::/32
C

results in
2019-01-17 01:46:49,463 irrd[1103]: [irrd.server.whois.protocol#INFO] [::ffff:129.250.15.35]:38817: received query: !t300
2019-01-17 01:46:49,464 irrd[1103]: [irrd.server.whois.query_parser#INFO] [::ffff:129.250.15.35]:38817: encountered parsing error while parsing query "!t300": Unrecognised command: T
2019-01-17 01:46:49,465 irrd[1103]: [irrd.server.whois.protocol#INFO] [::ffff:129.250.15.35]:38817: received query: !s-lc
2019-01-17 01:46:49,465 irrd[1103]: [irrd.server.whois.protocol#INFO] [::ffff:129.250.15.35]:38817: received query: !s Unrecognised command: T
2019-01-17 01:46:49,465 irrd[1103]: [irrd.server.whois.query_parser#INFO] [::ffff:129.250.15.35]:38817: encountered parsing error while parsing query "!s Unrecognised command: T": One or more selected sources are unavailable.

which looks like the input and output streams are being mixed? which wouldn't be a problem if the !t300 was understood.

@troy2914 troy2914 added this to To do in IRRDv4 phase 1 via automation Jan 17, 2019
@troy2914 troy2914 added the release blocker blocks the next release label Jan 17, 2019
@mxsasha
Copy link
Collaborator

mxsasha commented Jan 17, 2019

I've split the issue about invalid logfiles into #169.

I've not heard of !t before, nor is it documented in legacy IRRd. But we can definitely add it. Should there be a maximum allowed value?

@troy2914
Copy link
Member Author

max should be 1000.

btw, it was mentioned in irrd2.3.10/src/programs/IRRd/COMMANDS.INFO

t command
Set timeout on idle connections. This is for IRR GUI
viewers (like ROE/AOE)
t
eg !t1000

@mxsasha mxsasha self-assigned this Jan 28, 2019
@mxsasha mxsasha added this to the IRRD 4.0.0 milestone Jan 28, 2019
@mxsasha mxsasha added this to To do in NTT Support Contract 2019 via automation Jan 29, 2019
@mxsasha mxsasha removed this from To do in IRRDv4 phase 1 Jan 29, 2019
@mxsasha mxsasha closed this as completed in 94a2420 Feb 6, 2019
NTT Support Contract 2019 automation moved this from To do to Done Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release blocker blocks the next release
Projects
No open projects
Development

No branches or pull requests

2 participants